home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 67 65 | 72 61 6c 64 6f 2e 63 63 |Path: ge|raldo.cc|
|00000010| 2e 75 74 65 78 61 73 2e | 65 64 75 21 75 73 65 6e |.utexas.|edu!usen|
|00000020| 65 74 0a 46 72 6f 6d 3a | 20 52 69 63 68 61 72 64 |et.From:| Richard|
|00000030| 20 4b 69 6c 67 6f 72 65 | 20 3c 72 6b 69 6c 67 6f | Kilgore| <rkilgo|
|00000040| 72 65 40 6c 6f 72 65 2e | 65 63 65 2e 75 74 65 78 |re@lore.|ece.utex|
|00000050| 61 73 2e 65 64 75 3e 0a | 4e 65 77 73 67 72 6f 75 |as.edu>.|Newsgrou|
|00000060| 70 73 3a 20 63 6f 6d 70 | 2e 6c 61 6e 67 2e 63 2b |ps: comp|.lang.c+|
|00000070| 2b 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 52 |+.Subjec|t: Re: R|
|00000080| 65 63 75 72 73 69 76 65 | 20 44 65 66 69 6e 69 74 |ecursive| Definit|
|00000090| 69 6f 6e 3f 0a 44 61 74 | 65 3a 20 31 37 20 4a 61 |ion?.Dat|e: 17 Ja|
|000000a0| 6e 20 31 39 39 36 20 32 | 31 3a 30 33 3a 32 39 20 |n 1996 2|1:03:29 |
|000000b0| 47 4d 54 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|000000c0| 3a 20 54 68 65 20 55 6e | 69 76 65 72 73 69 74 79 |: The Un|iversity|
|000000d0| 20 6f 66 20 54 65 78 61 | 73 20 61 74 20 41 75 73 | of Texa|s at Aus|
|000000e0| 74 69 6e 2c 20 41 75 73 | 74 69 6e 2c 20 54 65 78 |tin, Aus|tin, Tex|
|000000f0| 61 73 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |as.Messa|ge-ID: <|
|00000100| 34 64 6a 6f 37 31 24 62 | 6e 6a 40 67 65 72 61 6c |4djo71$b|nj@geral|
|00000110| 64 6f 2e 63 63 2e 75 74 | 65 78 61 73 2e 65 64 75 |do.cc.ut|exas.edu|
|00000120| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 34 |>.Refere|nces: <4|
|00000130| 64 66 33 39 6a 24 66 38 | 30 40 6e 65 77 73 2e 76 |df39j$f8|0@news.v|
|00000140| 63 64 2e 68 70 2e 63 6f | 6d 3e 20 3c 34 64 69 73 |cd.hp.co|m> <4dis|
|00000150| 68 38 24 34 33 63 40 69 | 73 2e 62 62 73 72 63 2e |h8$43c@i|s.bbsrc.|
|00000160| 61 63 2e 75 6b 3e 0a 4e | 4e 54 50 2d 50 6f 73 74 |ac.uk>.N|NTP-Post|
|00000170| 69 6e 67 2d 48 6f 73 74 | 3a 20 6c 6f 72 65 2e 65 |ing-Host|: lore.e|
|00000180| 63 65 2e 75 74 65 78 61 | 73 2e 65 64 75 0a 4d 69 |ce.utexa|s.edu.Mi|
|00000190| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|000001a0| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 74 65 |Content-|Type: te|
|000001b0| 78 74 2f 70 6c 61 69 6e | 3b 20 63 68 61 72 73 65 |xt/plain|; charse|
|000001c0| 74 3d 75 73 2d 61 73 63 | 69 69 0a 43 6f 6e 74 65 |t=us-asc|ii.Conte|
|000001d0| 6e 74 2d 54 72 61 6e 73 | 66 65 72 2d 45 6e 63 6f |nt-Trans|fer-Enco|
|000001e0| 64 69 6e 67 3a 20 37 62 | 69 74 0a 58 2d 4d 61 69 |ding: 7b|it.X-Mai|
|000001f0| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 31 |ler: Moz|illa 1.1|
|00000200| 4e 20 28 58 31 31 3b 20 | 49 3b 20 4c 69 6e 75 78 |N (X11; |I; Linux|
|00000210| 20 31 2e 33 2e 31 38 20 | 69 35 38 36 29 0a 54 6f | 1.3.18 |i586).To|
|00000220| 3a 20 52 6f 62 65 72 74 | 2e 54 75 63 6b 40 62 62 |: Robert|.Tuck@bb|
|00000230| 73 72 63 2e 61 63 2e 75 | 6b 0a 58 2d 55 52 4c 3a |src.ac.u|k.X-URL:|
|00000240| 20 6e 65 77 73 3a 34 64 | 69 73 68 38 24 34 33 63 | news:4d|ish8$43c|
|00000250| 40 69 73 2e 62 62 73 72 | 63 2e 61 63 2e 75 6b 0a |@is.bbsr|c.ac.uk.|
|00000260| 0a 52 6f 62 65 72 74 20 | 54 75 63 6b 20 3c 52 6f |.Robert |Tuck <Ro|
|00000270| 62 65 72 74 2e 54 75 63 | 6b 40 62 62 73 72 63 2e |bert.Tuc|k@bbsrc.|
|00000280| 61 63 2e 75 6b 3e 20 77 | 72 6f 74 65 3a 0a 3e 5b |ac.uk> w|rote:.>[|
|00000290| 2e 2e 2e 5d 0a 3e 3e 20 | 20 20 20 20 20 73 74 61 |...].>> | sta|
|000002a0| 74 69 63 20 63 6f 6e 73 | 74 20 53 77 69 74 63 68 |tic cons|t Switch|
|000002b0| 20 4f 6e 3b 0a 3e 3e 20 | 20 20 20 20 20 73 74 61 | On;.>> | sta|
|000002c0| 74 69 63 20 63 6f 6e 73 | 74 20 53 77 69 74 63 68 |tic cons|t Switch|
|000002d0| 20 4f 66 66 3b 0a 3e 5b | 2e 2e 2e 5d 0a 3e 3e 63 | Off;.>[|...].>>c|
|000002e0| 6f 6e 73 74 20 53 77 69 | 74 63 68 20 53 77 69 74 |onst Swi|tch Swit|
|000002f0| 63 68 3a 3a 4f 6e 20 3d | 20 31 3b 0a 3e 3e 63 6f |ch::On =| 1;.>>co|
|00000300| 6e 73 74 20 53 77 69 74 | 63 68 20 53 77 69 74 63 |nst Swit|ch Switc|
|00000310| 68 3a 3a 4f 66 66 20 3d | 20 30 3b 0a 3e 3e 0a 3e |h::Off =| 0;.>>.>|
|00000320| 3e 57 68 61 74 20 61 72 | 65 20 74 68 65 20 61 62 |>What ar|e the ab|
|00000330| 6f 76 65 20 74 77 6f 20 | 73 74 61 74 65 6d 65 6e |ove two |statemen|
|00000340| 74 73 20 74 72 79 69 6e | 67 20 74 6f 20 69 6e 69 |ts tryin|g to ini|
|00000350| 74 69 61 6c 69 7a 65 3f | 0a 3e 3e 49 74 20 73 65 |tialize?|.>>It se|
|00000360| 65 6d 73 20 74 6f 20 6d | 65 20 74 68 61 74 20 74 |ems to m|e that t|
|00000370| 68 65 79 20 61 72 65 20 | 73 6f 72 74 20 6f 66 20 |hey are |sort of |
|00000380| 64 6f 69 6e 67 20 61 20 | 72 65 63 75 72 73 69 76 |doing a |recursiv|
|00000390| 65 0a 3e 3e 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |e.>>init|ializati|
|000003a0| 6f 6e 2e 20 20 50 6c 65 | 61 73 65 20 68 65 6c 70 |on. Ple|ase help|
|000003b0| 21 21 21 21 0a 3e 0a 3e | 49 74 20 6c 6f 6f 6b 73 |!!!!.>.>|It looks|
|000003c0| 20 74 6f 20 6d 65 20 6c | 69 6b 65 20 4f 6e 20 61 | to me l|ike On a|
|000003d0| 6e 64 20 4f 66 66 20 73 | 68 6f 75 6c 64 20 62 65 |nd Off s|hould be|
|000003e0| 20 69 6e 74 73 2c 20 6e | 6f 74 20 53 77 69 74 63 | ints, n|ot Switc|
|000003f0| 68 73 2e 20 54 68 65 20 | 0a 3e 72 65 73 70 65 63 |hs. The |.>respec|
|00000400| 74 69 76 65 20 6c 69 6e | 65 73 20 73 68 6f 75 6c |tive lin|es shoul|
|00000410| 64 20 72 65 61 64 3a 0a | 3e 0a 3e 20 20 20 20 20 |d read:.|>.> |
|00000420| 20 73 74 61 74 69 63 20 | 63 6f 6e 73 74 20 69 6e | static |const in|
|00000430| 74 20 4f 6e 3b 0a 3e 20 | 20 20 20 20 20 73 74 61 |t On;.> | sta|
|00000440| 74 69 63 20 63 6f 6e 73 | 74 20 69 6e 74 20 4f 66 |tic cons|t int Of|
|00000450| 66 3b 0a 3e 0a 3e 61 6e | 64 0a 3e 0a 3e 63 6f 6e |f;.>.>an|d.>.>con|
|00000460| 73 74 20 69 6e 74 20 53 | 77 69 74 63 68 3a 3a 4f |st int S|witch::O|
|00000470| 6e 20 3d 20 31 3b 0a 3e | 63 6f 6e 73 74 20 69 6e |n = 1;.>|const in|
|00000480| 74 20 53 77 69 74 63 68 | 3a 3a 4f 66 66 20 3d 20 |t Switch|::Off = |
|00000490| 30 3b 0a 3e 0a 3e 41 20 | 6d 65 6d 62 65 72 20 6f |0;.>.>A |member o|
|000004a0| 66 20 61 20 63 6c 61 73 | 73 20 63 61 6e 6e 6f 74 |f a clas|s cannot|
|000004b0| 20 62 65 20 61 6e 20 6f | 62 6a 65 63 74 20 6f 66 | be an o|bject of|
|000004c0| 20 74 68 61 74 20 73 61 | 6d 65 20 63 6c 61 73 73 | that sa|me class|
|000004d0| 2e 0a 3e 0a 0a 0a 4f 6e | 20 61 6e 64 20 4f 66 66 |..>...On| and Off|
|000004e0| 20 61 72 65 20 6e 6f 74 | 20 65 78 61 63 74 6c 79 | are not| exactly|
|000004f0| 20 6d 65 6d 62 65 72 73 | 2c 20 74 68 6f 75 67 68 | members|, though|
|00000500| 2c 20 74 68 65 79 27 72 | 65 20 53 54 41 54 49 43 |, they'r|e STATIC|
|00000510| 20 6d 65 6d 62 65 72 73 | 2e 20 20 49 6e 20 43 2b | members|. In C+|
|00000520| 2b 2c 0a 74 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |+,.this |means th|
|00000530| 61 74 20 74 68 65 72 65 | 20 69 73 20 4f 4e 45 20 |at there| is ONE |
|00000540| 22 53 77 69 74 63 68 3a | 3a 4f 6e 22 20 61 6e 64 |"Switch:|:On" and|
|00000550| 20 4f 4e 45 20 22 53 77 | 69 74 63 68 3a 3a 4f 66 | ONE "Sw|itch::Of|
|00000560| 66 22 20 6f 62 6a 65 63 | 74 20 69 6e 20 74 68 65 |f" objec|t in the|
|00000570| 0a 77 68 6f 6c 65 20 70 | 72 6f 67 72 61 6d 20 28 |.whole p|rogram (|
|00000580| 6f 72 20 61 74 20 6c 65 | 61 73 74 20 74 68 69 73 |or at le|ast this|
|00000590| 20 70 72 6f 63 65 73 73 | 29 2e 20 20 57 68 6f 65 | process|). Whoe|
|000005a0| 76 65 72 20 64 69 64 20 | 74 68 69 73 2c 20 6d 69 |ver did |this, mi|
|000005b0| 67 68 74 20 68 61 76 65 | 20 62 65 65 6e 0a 73 65 |ght have| been.se|
|000005c0| 74 74 69 6e 67 20 75 70 | 20 63 6f 6e 73 74 61 6e |tting up| constan|
|000005d0| 74 73 20 77 69 74 68 20 | 77 68 69 63 68 20 79 6f |ts with |which yo|
|000005e0| 75 20 63 61 6e 20 69 6e | 69 74 69 61 6c 69 7a 65 |u can in|itialize|
|000005f0| 20 61 6e 64 2f 6f 72 20 | 63 6f 6d 70 61 72 65 20 | and/or |compare |
|00000600| 79 6f 75 72 20 6f 77 6e | 0a 53 77 69 74 63 68 20 |your own|.Switch |
|00000610| 6f 62 6a 65 63 74 73 2e | 20 20 54 68 69 73 20 69 |objects.| This i|
|00000620| 73 20 70 65 72 66 65 63 | 74 6c 79 20 6c 65 67 61 |s perfec|tly lega|
|00000630| 6c 2c 20 61 6e 64 20 69 | 74 20 6d 69 67 68 74 20 |l, and i|t might |
|00000640| 62 65 20 75 73 65 66 75 | 6c 2e 0a 0a 41 6e 6f 74 |be usefu|l...Anot|
|00000650| 68 65 72 20 72 65 61 73 | 6f 6e 20 74 6f 20 75 73 |her reas|on to us|
|00000660| 65 20 73 74 61 74 69 63 | 20 64 61 74 61 20 6d 65 |e static| data me|
|00000670| 6d 62 65 72 73 2c 20 69 | 73 20 74 6f 20 70 72 6f |mbers, i|s to pro|
|00000680| 76 69 64 65 20 61 20 73 | 74 6f 72 61 67 65 20 6c |vide a s|torage l|
|00000690| 6f 63 61 74 69 6f 6e 0a | 66 6f 72 20 72 65 74 75 |ocation.|for retu|
|000006a0| 72 6e 20 76 61 6c 75 65 | 73 3a 20 66 6f 72 20 65 |rn value|s: for e|
|000006b0| 78 61 6d 70 6c 65 2c 20 | 69 66 20 79 6f 75 27 72 |xample, |if you'r|
|000006c0| 65 20 72 65 74 75 72 6e | 69 6e 67 20 61 20 72 65 |e return|ing a re|
|000006d0| 66 65 72 65 6e 63 65 20 | 74 6f 20 61 20 53 77 69 |ference |to a Swi|
|000006e0| 74 63 68 0a 66 72 6f 6d | 20 73 6f 6d 65 20 6d 65 |tch.from| some me|
|000006f0| 74 68 6f 64 2e 0a 0a 09 | 2d 20 72 69 63 6b 0a 0a |thod....|- rick..|
|00000700| 0a 0a 2d 2d 20 0a 52 69 | 63 68 61 72 64 20 42 2e |..-- .Ri|chard B.|
|00000710| 20 4b 69 6c 67 6f 72 65 | 0a 47 72 61 64 20 53 74 | Kilgore|.Grad St|
|00000720| 75 64 65 6e 74 2c 20 55 | 6e 69 76 65 72 73 69 74 |udent, U|niversit|
|00000730| 79 20 6f 66 20 54 65 78 | 61 73 20 61 74 20 41 75 |y of Tex|as at Au|
|00000740| 73 74 69 6e 0a 57 57 57 | 20 55 52 4c 3a 20 68 74 |stin.WWW| URL: ht|
|00000750| 74 70 3a 2f 2f 6c 6f 72 | 65 2e 65 63 65 2e 75 74 |tp://lor|e.ece.ut|
|00000760| 65 78 61 73 2e 65 64 75 | 2f 7e 72 6b 69 6c 67 6f |exas.edu|/~rkilgo|
|00000770| 72 65 2f 0a 45 2d 6d 61 | 69 6c 20 72 6b 69 6c 67 |re/.E-ma|il rkilg|
|00000780| 6f 72 65 40 6c 6f 72 65 | 2e 65 63 65 2e 75 74 65 |ore@lore|.ece.ute|
|00000790| 78 61 73 2e 65 64 75 0a | 7c 0a 7c 0a 7c 0a 7c 0a |xas.edu.||.|.|.|.|
|000007a0| 7c 0a 7c 0a 7c 0a 0a | ||.|.|.. | |
+--------+-------------------------+-------------------------+--------+--------+